x = 1
y = 1
a = 1
numbers = [1, 2, 3, 4, 5]
groceries = ["bananas", "sweet potatoes", "pasta", "tomato"]

loop do
	x += 1

	next unless (x % 2) == 0
	puts x
		
	break if x >= 10
end

while y <= 10
	y += 1
	next unless (y % 2) == 0
	puts y
end

until a >= 10
	a += 1
	next unless (a % 2) == 0
	puts a
end

for number in numbers
	print "#{number},"
end

groceries.each do |food|
	puts "Get some #{food}"
end

(0..5).each do |i|
	puts "# #{i}"
end